package com.xiaohu.config;

import com.xiaohu.entity.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DefinitionConfig {

    /**
     * <bean id="user" class="com.xxxx.entity.User"></bean>
     * @return
     */
    @Bean
    public User user1() {
        return new User();
    }
}
